package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created by dell on 2016/11/9.
 */
@SpringBootApplication
//@Configuration
//@EnableAutoConfiguration
//@ComponentScan
public class AppBack {

//    protected SpringApplicationBuilder configure(
//            SpringApplicationBuilder application) {
//        return application.sources(AppBack.class);
//    }

    public static void main(String[] args){
        SpringApplication.run(AppBack.class,args);
    }

}
